import { axios } from '@/utils/request'

/**
 * 违章类别分析-违章性质
 * @param {*} parameter
 * @returns
 */
export function getViolationTypeAnalysis (parameter) {
  return axios({
    url: '/QHSEViolationCategoryAnalysisController/ViolationTypeAnalysis',
    method: 'post',
    data: parameter
  })
}

/**
 * 违章类别分析-违章人员工龄
 * @param {*} parameter
 * @returns
 */
export function getVioWorkYearsAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationCategoryAnalysisController/ViolationWorkYearsAnalysis',
        method: 'post',
        data: parameter
    })
}

/**
 * 违章类别分析-违章人员年龄
 * @param {*} parameter
 * @returns
 */
 export function getVioAgeAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationCategoryAnalysisController/ViolationAgeAnalysis',
        method: 'post',
        data: parameter
    })
}

/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
 export function getVioEmployeeTypeAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationCategoryAnalysisController/ViolationEmployeeTypeAnalysis',
        method: 'post',
        data: parameter
    })
}

/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveRYFYAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveRYFYAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveRYWZAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveRYWZAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveFHZBAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveFHZBAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveGZSBAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveGZSBAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveCZGCAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveCZGCAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章人员用工性质
 * @param {*} parameter
 * @returns
 */
export function getViolationObserveZYHJAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationObserverAnalysis/ViolationObserveZYHJAnalysis',
        method: 'post',
        data: parameter
    })
}
/**
 * 违章类别分析-违章类别
 * @param {*} parameter
 * @returns
 */
export function getViolationCateAnalysis (parameter) {
    return axios({
        url: '/QHSEViolationCategoryAnalysisController/ViolationCategoryAnalysis',
        method: 'post',
        data: parameter
    })
}
